





public static partial class Extensions
{
    /// <summary>
    ///     An object extension method that cast anonymous type to the specified type.
    /// </summary>
    /// <typeparam name="T">Generic type parameter. The specified type.</typeparam>
    /// <param name="this">The @this to act on.</param>
    /// <returns>The object as the specified type.</returns>
    public static T As<T>(this object @this)
    {
        return (T) @this;
    }
}